<?php
  $expansion_array = array();
  foreach($db->getExpansions() as $expansion)
  {
    array_push($expansion_array, new Expansion($expansion->ID));
  }

  $options = getSelectOptions($expansion_array);
  
  echo'
  <h4>Expansion:</h4>
  <select name="expansions[]" multiple>
    '.$options.'
  </select>
  ';
?>